# coding:utf8

import uiautomation as uia

import win32gui, win32con
import win32clipboard as wc

import time
import os


def setclip():
    # image
    # type_data = win32con.CF_DIB
    # text
    type_data = win32con.CF_UNICODETEXT
    data = "nihao"
    wc.OpenClipboard()
    wc.EmptyClipboard()
    wc.SetClipboardData(type_data, data)
    wc.CloseClipboard()



setclip()